package com.gitee.huxing.course.conc.task;

/**
 * @Description: 本周作业
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.course.conc.task
 * @ClassName: CourseTask
 * @Author: huxing
 * @DateTime: 2021-08-25 下午4:57
 */
public class CourseTask {

    public static int sum(){
        return fibo(36);
    }

    private static int fibo(int a){
        return (a < 2) ? 1 : fibo(a-1) + fibo(a-2);
    }
}
